Root Zanli
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
o5t6x7pgljbm
/
public_html
/
admin
/
storage
/
logs
/
Filename :
laravel-2025-08-30.log
back
Copy
[2025-08-30 03:45:44] local.INFO: V2ChildController::getUserDashboardForApp() [2025-08-30 03:45:44] local.INFO: V2ChildController::getFilteredTasks() [2025-08-30 03:45:44] local.DEBUG: Task Sql:select `tasks`.* from `tasks` left join `task_settings` on `tasks`.`task_id` = `task_settings`.`task_id` left join `task_visibility` on `task_visibility`.`task_settings_id` = `task_settings`.`task_settings_id` left join `task_visibility` as `visibility_country_single` on `visibility_country_single`.`task_settings_id` = `visibility_country_single`.`task_settings_id` and `visibility_country_single`.`entity_type` = 'COUNTRY_SINGLE' left join `task_assigned` on `tasks`.`task_id` = `task_assigned`.`task_id` and `task_assigned`.`user_id` = ? and `task_assigned`.`group_id` = ? where (`task_assigned`.`user_id` is not null or (`task_settings`.`visible_to` in (?) and `task_visibility`.`entity_type` = ? and `task_visibility`.`entity_value` is null and `visibility_country_single`.`entity_value` is null) or (`task_settings`.`visible_to` in (?, ?))) and (`tasks`.`due_by` > '2025-08-30' or `tasks`.`due_by` is null) and `tasks`.`deleted_at` is null group by `tasks`.`task_id` order by `task_assigned`.`user_id` desc, `task_id` desc limit 1 [2025-08-30 03:45:44] local.DEBUG: Values for Sql:Array ( [0] => 312 [1] => 220 [2] => ZIPCODE_PARENT_AND_CHILD [3] => ZIPCODE [4] => GLOBAL [5] => GLOBAL_FOR_PARENT_AND_CHILD ) [2025-08-30 03:45:44] local.INFO: V2ChildController::getFilteredRewards() [2025-08-30 03:45:44] local.INFO: child if condition before CHILD [2025-08-30 03:45:44] local.INFO: child if condition after [2025-08-30 03:45:44] local.DEBUG: SQL to get Rewards: select `products`.* from `products` left join `store_product` on `store_product`.`product_id` = `products`.`product_id` and `store_product`.`deleted_at` IS NULL left join `reward_settings` on `reward_settings`.`reward_id` = `products`.`product_id` left join `reward_visibility` on `reward_visibility`.`reward_settings_id` = `reward_settings`.`reward_settings_id` where ((`reward_settings`.`visible_to` in (?) and `reward_settings`.`visible_in_family_store` = ? and `store_product`.`store_id` = ? and `store_product`.`is_published` = ?) or (`reward_settings`.`visible_to` in (?) and `products`.`group_id` = ?) or (`store_product`.`store_id` = ? and `store_product`.`is_published` <=> ?)) and `products`.`deleted_at` is null group by `products`.`product_id` order by `products`.`created_at` desc limit 1 [2025-08-30 03:45:44] local.DEBUG: Values for Sql:Array ( [0] => GLOBAL_FOR_PARENT [1] => 1 [2] => 218 [3] => 1 [4] => SINGLE_GROUP [5] => 220 [6] => 218 [7] => 0 ) [2025-08-30 03:45:44] local.DEBUG: Task Sql:select `tasks`.* from `tasks` left join `task_settings` on `tasks`.`task_id` = `task_settings`.`task_id` where `tasks`.`product_id` in (?) and `tasks`.`deleted_at` is null group by `tasks`.`task_id` order by `created_at` desc [2025-08-30 03:45:44] local.DEBUG: Values for Sql:Array ( [0] => 358 ) [2025-08-30 03:45:50] local.INFO: V2ChildController::getUserDashboardForApp() [2025-08-30 03:45:53] local.INFO: V2ChildController::update_children_attendance() [2025-08-30 03:45:53] local.DEBUG: Allocating SP [2025-08-30 03:45:53] local.INFO: V2ChildController::getUserDashboardForApp() [2025-08-30 03:45:53] local.INFO: V2ChildController::getHasNewActivity() [2025-08-30 03:45:53] local.INFO: V2ChildController::getFilteredTasks() [2025-08-30 03:45:53] local.DEBUG: Task Sql:select `tasks`.* from `tasks` left join `task_settings` on `tasks`.`task_id` = `task_settings`.`task_id` left join `task_visibility` on `task_visibility`.`task_settings_id` = `task_settings`.`task_settings_id` left join `task_visibility` as `visibility_country_single` on `visibility_country_single`.`task_settings_id` = `visibility_country_single`.`task_settings_id` and `visibility_country_single`.`entity_type` = 'COUNTRY_SINGLE' left join `task_assigned` on `tasks`.`task_id` = `task_assigned`.`task_id` and `task_assigned`.`user_id` = ? and `task_assigned`.`group_id` = ? where (`task_assigned`.`user_id` is not null or (`task_settings`.`visible_to` in (?) and `task_visibility`.`entity_type` = ? and `task_visibility`.`entity_value` is null and `visibility_country_single`.`entity_value` is null) or (`task_settings`.`visible_to` in (?, ?))) and (`tasks`.`due_by` > '2025-08-30' or `tasks`.`due_by` is null) and `tasks`.`deleted_at` is null group by `tasks`.`task_id` order by `task_assigned`.`user_id` desc, `task_id` desc limit 1 [2025-08-30 03:45:53] local.DEBUG: Values for Sql:Array ( [0] => 312 [1] => 220 [2] => ZIPCODE_PARENT_AND_CHILD [3] => ZIPCODE [4] => GLOBAL [5] => GLOBAL_FOR_PARENT_AND_CHILD ) [2025-08-30 03:45:53] local.INFO: V2ChildController::getFilteredRewards() [2025-08-30 03:45:53] local.INFO: child if condition before CHILD [2025-08-30 03:45:53] local.INFO: child if condition after [2025-08-30 03:45:53] local.DEBUG: SQL to get Rewards: select `products`.* from `products` left join `store_product` on `store_product`.`product_id` = `products`.`product_id` and `store_product`.`deleted_at` IS NULL left join `reward_settings` on `reward_settings`.`reward_id` = `products`.`product_id` left join `reward_visibility` on `reward_visibility`.`reward_settings_id` = `reward_settings`.`reward_settings_id` where ((`reward_settings`.`visible_to` in (?) and `reward_settings`.`visible_in_family_store` = ? and `store_product`.`store_id` = ? and `store_product`.`is_published` = ?) or (`reward_settings`.`visible_to` in (?) and `products`.`group_id` = ?) or (`store_product`.`store_id` = ? and `store_product`.`is_published` <=> ?)) and `products`.`deleted_at` is null group by `products`.`product_id` order by `products`.`created_at` desc limit 1 [2025-08-30 03:45:53] local.DEBUG: Values for Sql:Array ( [0] => GLOBAL_FOR_PARENT [1] => 1 [2] => 218 [3] => 1 [4] => SINGLE_GROUP [5] => 220 [6] => 218 [7] => 0 ) [2025-08-30 03:45:53] local.DEBUG: Task Sql:select `tasks`.* from `tasks` left join `task_settings` on `tasks`.`task_id` = `task_settings`.`task_id` where `tasks`.`product_id` in (?) and `tasks`.`deleted_at` is null group by `tasks`.`task_id` order by `created_at` desc [2025-08-30 03:45:53] local.DEBUG: Values for Sql:Array ( [0] => 358 ) [2025-08-30 03:45:56] local.INFO: V2ChildController::getUserDashboardForApp() [2025-08-30 03:45:58] local.INFO: V2ChildController::getUserDashboardForApp() [2025-08-30 03:46:00] local.INFO: V2ChildController::getUserDashboardForApp() [2025-08-30 03:46:00] local.INFO: V2ChildController::getFilteredTasks() [2025-08-30 03:46:00] local.DEBUG: Task Sql:select `tasks`.* from `tasks` left join `task_settings` on `tasks`.`task_id` = `task_settings`.`task_id` left join `task_visibility` on `task_visibility`.`task_settings_id` = `task_settings`.`task_settings_id` left join `task_visibility` as `visibility_country_single` on `visibility_country_single`.`task_settings_id` = `visibility_country_single`.`task_settings_id` and `visibility_country_single`.`entity_type` = 'COUNTRY_SINGLE' left join `task_assigned` on `tasks`.`task_id` = `task_assigned`.`task_id` and `task_assigned`.`user_id` = ? and `task_assigned`.`group_id` = ? where (`task_assigned`.`user_id` is not null or (`task_settings`.`visible_to` in (?) and `task_visibility`.`entity_type` = ? and `task_visibility`.`entity_value` is null and `visibility_country_single`.`entity_value` is null) or (`task_settings`.`visible_to` in (?, ?))) and (`tasks`.`due_by` > '2025-08-30' or `tasks`.`due_by` is null) and `tasks`.`deleted_at` is null group by `tasks`.`task_id` order by `task_assigned`.`user_id` desc, `task_id` desc limit 1 [2025-08-30 03:46:00] local.DEBUG: Values for Sql:Array ( [0] => 312 [1] => 220 [2] => ZIPCODE_PARENT_AND_CHILD [3] => ZIPCODE [4] => GLOBAL [5] => GLOBAL_FOR_PARENT_AND_CHILD ) [2025-08-30 03:46:00] local.INFO: V2ChildController::getFilteredRewards() [2025-08-30 03:46:00] local.INFO: child if condition before CHILD [2025-08-30 03:46:00] local.INFO: child if condition after [2025-08-30 03:46:00] local.DEBUG: SQL to get Rewards: select `products`.* from `products` left join `store_product` on `store_product`.`product_id` = `products`.`product_id` and `store_product`.`deleted_at` IS NULL left join `reward_settings` on `reward_settings`.`reward_id` = `products`.`product_id` left join `reward_visibility` on `reward_visibility`.`reward_settings_id` = `reward_settings`.`reward_settings_id` where ((`reward_settings`.`visible_to` in (?) and `reward_settings`.`visible_in_family_store` = ? and `store_product`.`store_id` = ? and `store_product`.`is_published` = ?) or (`reward_settings`.`visible_to` in (?) and `products`.`group_id` = ?) or (`store_product`.`store_id` = ? and `store_product`.`is_published` <=> ?)) and `products`.`deleted_at` is null group by `products`.`product_id` order by `products`.`created_at` desc limit 1 [2025-08-30 03:46:00] local.DEBUG: Values for Sql:Array ( [0] => GLOBAL_FOR_PARENT [1] => 1 [2] => 218 [3] => 1 [4] => SINGLE_GROUP [5] => 220 [6] => 218 [7] => 0 ) [2025-08-30 03:46:00] local.DEBUG: Task Sql:select `tasks`.* from `tasks` left join `task_settings` on `tasks`.`task_id` = `task_settings`.`task_id` where `tasks`.`product_id` in (?) and `tasks`.`deleted_at` is null group by `tasks`.`task_id` order by `created_at` desc [2025-08-30 03:46:00] local.DEBUG: Values for Sql:Array ( [0] => 358 ) [2025-08-30 03:46:02] local.INFO: V2ChildController::getUserDashboardForApp() [2025-08-30 03:46:03] local.INFO: V2ChildController::getHasNewActivity() [2025-08-30 03:46:04] local.INFO: V2ChildController::getUserDashboardForApp() [2025-08-30 03:46:07] local.INFO: V2ChildController::update_children_attendance() [2025-08-30 03:46:07] local.DEBUG: Allocating SP [2025-08-30 03:46:07] local.INFO: V2ChildController::getUserDashboardForApp() [2025-08-30 03:46:07] local.INFO: V2ChildController::getFilteredTasks() [2025-08-30 03:46:07] local.DEBUG: Task Sql:select `tasks`.* from `tasks` left join `task_settings` on `tasks`.`task_id` = `task_settings`.`task_id` left join `task_visibility` on `task_visibility`.`task_settings_id` = `task_settings`.`task_settings_id` left join `task_visibility` as `visibility_country_single` on `visibility_country_single`.`task_settings_id` = `visibility_country_single`.`task_settings_id` and `visibility_country_single`.`entity_type` = 'COUNTRY_SINGLE' left join `task_assigned` on `tasks`.`task_id` = `task_assigned`.`task_id` and `task_assigned`.`user_id` = ? and `task_assigned`.`group_id` = ? where (`task_assigned`.`user_id` is not null or (`task_settings`.`visible_to` in (?) and `task_visibility`.`entity_type` = ? and `task_visibility`.`entity_value` is null and `visibility_country_single`.`entity_value` is null) or (`task_settings`.`visible_to` in (?, ?))) and (`tasks`.`due_by` > '2025-08-30' or `tasks`.`due_by` is null) and `tasks`.`deleted_at` is null group by `tasks`.`task_id` order by `task_assigned`.`user_id` desc, `task_id` desc limit 1 [2025-08-30 03:46:07] local.DEBUG: Values for Sql:Array ( [0] => 312 [1] => 220 [2] => ZIPCODE_PARENT_AND_CHILD [3] => ZIPCODE [4] => GLOBAL [5] => GLOBAL_FOR_PARENT_AND_CHILD ) [2025-08-30 03:46:07] local.INFO: V2ChildController::getFilteredRewards() [2025-08-30 03:46:07] local.INFO: child if condition before CHILD [2025-08-30 03:46:07] local.INFO: child if condition after [2025-08-30 03:46:07] local.DEBUG: SQL to get Rewards: select `products`.* from `products` left join `store_product` on `store_product`.`product_id` = `products`.`product_id` and `store_product`.`deleted_at` IS NULL left join `reward_settings` on `reward_settings`.`reward_id` = `products`.`product_id` left join `reward_visibility` on `reward_visibility`.`reward_settings_id` = `reward_settings`.`reward_settings_id` where ((`reward_settings`.`visible_to` in (?) and `reward_settings`.`visible_in_family_store` = ? and `store_product`.`store_id` = ? and `store_product`.`is_published` = ?) or (`reward_settings`.`visible_to` in (?) and `products`.`group_id` = ?) or (`store_product`.`store_id` = ? and `store_product`.`is_published` <=> ?)) and `products`.`deleted_at` is null group by `products`.`product_id` order by `products`.`created_at` desc limit 1 [2025-08-30 03:46:07] local.DEBUG: Values for Sql:Array ( [0] => GLOBAL_FOR_PARENT [1] => 1 [2] => 218 [3] => 1 [4] => SINGLE_GROUP [5] => 220 [6] => 218 [7] => 0 ) [2025-08-30 03:46:07] local.DEBUG: Task Sql:select `tasks`.* from `tasks` left join `task_settings` on `tasks`.`task_id` = `task_settings`.`task_id` where `tasks`.`product_id` in (?) and `tasks`.`deleted_at` is null group by `tasks`.`task_id` order by `created_at` desc [2025-08-30 03:46:07] local.DEBUG: Values for Sql:Array ( [0] => 358 ) [2025-08-30 03:46:09] local.INFO: V2ChildController::getUserDashboardForApp() [2025-08-30 03:46:12] local.INFO: V2ChildController::getUserDashboardForApp() [2025-08-30 03:46:13] local.INFO: V2ChildController::getHasNewActivity() [2025-08-30 03:46:14] local.INFO: V2ChildController::update_children_attendance() [2025-08-30 03:46:14] local.DEBUG: Allocating SP [2025-08-30 03:46:14] local.INFO: V2ChildController::getUserDashboardForApp() [2025-08-30 03:46:14] local.INFO: V2ChildController::getFilteredTasks() [2025-08-30 03:46:14] local.DEBUG: Task Sql:select `tasks`.* from `tasks` left join `task_settings` on `tasks`.`task_id` = `task_settings`.`task_id` left join `task_visibility` on `task_visibility`.`task_settings_id` = `task_settings`.`task_settings_id` left join `task_visibility` as `visibility_country_single` on `visibility_country_single`.`task_settings_id` = `visibility_country_single`.`task_settings_id` and `visibility_country_single`.`entity_type` = 'COUNTRY_SINGLE' left join `task_assigned` on `tasks`.`task_id` = `task_assigned`.`task_id` and `task_assigned`.`user_id` = ? and `task_assigned`.`group_id` = ? where (`task_assigned`.`user_id` is not null or (`task_settings`.`visible_to` in (?) and `task_visibility`.`entity_type` = ? and `task_visibility`.`entity_value` is null and `visibility_country_single`.`entity_value` is null) or (`task_settings`.`visible_to` in (?, ?))) and (`tasks`.`due_by` > '2025-08-30' or `tasks`.`due_by` is null) and `tasks`.`deleted_at` is null group by `tasks`.`task_id` order by `task_assigned`.`user_id` desc, `task_id` desc limit 1 [2025-08-30 03:46:14] local.DEBUG: Values for Sql:Array ( [0] => 312 [1] => 220 [2] => ZIPCODE_PARENT_AND_CHILD [3] => ZIPCODE [4] => GLOBAL [5] => GLOBAL_FOR_PARENT_AND_CHILD ) [2025-08-30 03:46:14] local.INFO: V2ChildController::getFilteredRewards() [2025-08-30 03:46:14] local.INFO: child if condition before CHILD [2025-08-30 03:46:14] local.INFO: child if condition after [2025-08-30 03:46:14] local.DEBUG: SQL to get Rewards: select `products`.* from `products` left join `store_product` on `store_product`.`product_id` = `products`.`product_id` and `store_product`.`deleted_at` IS NULL left join `reward_settings` on `reward_settings`.`reward_id` = `products`.`product_id` left join `reward_visibility` on `reward_visibility`.`reward_settings_id` = `reward_settings`.`reward_settings_id` where ((`reward_settings`.`visible_to` in (?) and `reward_settings`.`visible_in_family_store` = ? and `store_product`.`store_id` = ? and `store_product`.`is_published` = ?) or (`reward_settings`.`visible_to` in (?) and `products`.`group_id` = ?) or (`store_product`.`store_id` = ? and `store_product`.`is_published` <=> ?)) and `products`.`deleted_at` is null group by `products`.`product_id` order by `products`.`created_at` desc limit 1 [2025-08-30 03:46:14] local.DEBUG: Values for Sql:Array ( [0] => GLOBAL_FOR_PARENT [1] => 1 [2] => 218 [3] => 1 [4] => SINGLE_GROUP [5] => 220 [6] => 218 [7] => 0 ) [2025-08-30 03:46:14] local.DEBUG: Task Sql:select `tasks`.* from `tasks` left join `task_settings` on `tasks`.`task_id` = `task_settings`.`task_id` where `tasks`.`product_id` in (?) and `tasks`.`deleted_at` is null group by `tasks`.`task_id` order by `created_at` desc [2025-08-30 03:46:14] local.DEBUG: Values for Sql:Array ( [0] => 358 ) [2025-08-30 03:46:18] local.INFO: V2ParentController::get_claims() [2025-08-30 03:46:22] local.INFO: V2ChildController::get_app_store_rewards() [2025-08-30 03:46:22] local.INFO: child if condition before CHILD [2025-08-30 03:46:22] local.INFO: child if condition after [2025-08-30 03:46:22] local.DEBUG: SQL to get Rewards: select `products`.* from `products` left join `store_product` on `store_product`.`product_id` = `products`.`product_id` and `store_product`.`deleted_at` IS NULL left join `reward_settings` on `reward_settings`.`reward_id` = `products`.`product_id` left join `reward_visibility` on `reward_visibility`.`reward_settings_id` = `reward_settings`.`reward_settings_id` where ((`reward_settings`.`visible_to` in (?) and `reward_settings`.`visible_in_family_store` = ? and `store_product`.`store_id` = ? and `store_product`.`is_published` = ?) or (`reward_settings`.`visible_to` in (?) and `products`.`group_id` = ?) or (`store_product`.`store_id` = ? and `store_product`.`is_published` <=> ?)) and `products`.`deleted_at` is null group by `products`.`product_id` order by `products`.`created_at` desc limit 12 [2025-08-30 03:46:22] local.DEBUG: Values for Sql:Array ( [0] => GLOBAL_FOR_PARENT [1] => 1 [2] => 218 [3] => 1 [4] => SINGLE_GROUP [5] => 220 [6] => 218 [7] => 0 ) [2025-08-30 03:46:22] local.DEBUG: Task Sql:select `tasks`.* from `tasks` left join `task_settings` on `tasks`.`task_id` = `task_settings`.`task_id` where `tasks`.`product_id` in (?, ?, ?) and `tasks`.`deleted_at` is null group by `tasks`.`task_id` order by `created_at` desc [2025-08-30 03:46:22] local.DEBUG: Values for Sql:Array ( [0] => 358 [1] => 323 [2] => 208 ) [2025-08-30 03:46:22] local.INFO: child if condition before CHILD [2025-08-30 03:46:22] local.INFO: child if condition after [2025-08-30 03:46:22] local.DEBUG: SQL to get Rewards: select `products`.* from `products` left join `store_product` on `store_product`.`product_id` = `products`.`product_id` and `store_product`.`deleted_at` IS NULL left join `reward_settings` on `reward_settings`.`reward_id` = `products`.`product_id` left join `reward_visibility` on `reward_visibility`.`reward_settings_id` = `reward_settings`.`reward_settings_id` where ((`reward_settings`.`visible_to` in (?) and `reward_settings`.`visible_in_family_store` = ? and `store_product`.`store_id` = ? and `store_product`.`is_published` = ?) or (`reward_settings`.`visible_to` in (?) and `products`.`group_id` = ?) or (`store_product`.`store_id` = ? and `store_product`.`is_published` <=> ?)) and `products`.`deleted_at` is null group by `products`.`product_id` order by `products`.`created_at` desc limit 20 [2025-08-30 03:46:22] local.DEBUG: Values for Sql:Array ( [0] => GLOBAL_FOR_PARENT [1] => 1 [2] => 218 [3] => 1 [4] => SINGLE_GROUP [5] => 220 [6] => 218 [7] => 0 ) [2025-08-30 03:46:22] local.DEBUG: Task Sql:select `tasks`.* from `tasks` left join `task_settings` on `tasks`.`task_id` = `task_settings`.`task_id` where `tasks`.`product_id` in (?, ?, ?) and `tasks`.`deleted_at` is null group by `tasks`.`task_id` order by `created_at` desc [2025-08-30 03:46:22] local.DEBUG: Values for Sql:Array ( [0] => 358 [1] => 323 [2] => 208 ) [2025-08-30 03:46:27] local.INFO: V2ChildController::get_rewards_by_id() [2025-08-30 03:46:27] local.INFO: child if condition before CHILD [2025-08-30 03:46:27] local.INFO: child if condition after [2025-08-30 03:46:27] local.DEBUG: SQL to get Rewards: select `products`.* from `products` left join `store_product` on `store_product`.`product_id` = `products`.`product_id` and `store_product`.`deleted_at` IS NULL left join `reward_settings` on `reward_settings`.`reward_id` = `products`.`product_id` left join `reward_visibility` on `reward_visibility`.`reward_settings_id` = `reward_settings`.`reward_settings_id` where ((`reward_settings`.`visible_to` in (?) and `reward_settings`.`visible_in_family_store` = ? and `store_product`.`store_id` = ? and `store_product`.`is_published` = ?) or (`reward_settings`.`visible_to` in (?) and `products`.`group_id` = ?) or (`store_product`.`store_id` = ? and `store_product`.`is_published` <=> ?)) and `products`.`deleted_at` is null group by `products`.`product_id` order by `products`.`product_id` desc limit 10 [2025-08-30 03:46:27] local.DEBUG: Values for Sql:Array ( [0] => GLOBAL_FOR_PARENT [1] => 1 [2] => 218 [3] => 1 [4] => SINGLE_GROUP [5] => 220 [6] => 218 [7] => 0 ) [2025-08-30 03:46:27] local.DEBUG: Task Sql:select `tasks`.* from `tasks` left join `task_settings` on `tasks`.`task_id` = `task_settings`.`task_id` where `tasks`.`product_id` in (?, ?, ?) and `tasks`.`deleted_at` is null group by `tasks`.`task_id` order by `task_id` desc [2025-08-30 03:46:27] local.DEBUG: Values for Sql:Array ( [0] => 358 [1] => 323 [2] => 208 ) [2025-08-30 03:46:27] local.DEBUG: Current Balance: 3765 [2025-08-30 03:46:31] local.INFO: V2ChildController::getUserDashboardForApp() [2025-08-30 03:46:31] local.INFO: V2ChildController::getFilteredTasks() [2025-08-30 03:46:31] local.DEBUG: Task Sql:select `tasks`.* from `tasks` left join `task_settings` on `tasks`.`task_id` = `task_settings`.`task_id` left join `task_visibility` on `task_visibility`.`task_settings_id` = `task_settings`.`task_settings_id` left join `task_visibility` as `visibility_country_single` on `visibility_country_single`.`task_settings_id` = `visibility_country_single`.`task_settings_id` and `visibility_country_single`.`entity_type` = 'COUNTRY_SINGLE' left join `task_assigned` on `tasks`.`task_id` = `task_assigned`.`task_id` and `task_assigned`.`user_id` = ? and `task_assigned`.`group_id` = ? where (`task_assigned`.`user_id` is not null or (`task_settings`.`visible_to` in (?) and `task_visibility`.`entity_type` = ? and `task_visibility`.`entity_value` is null and `visibility_country_single`.`entity_value` is null) or (`task_settings`.`visible_to` in (?, ?))) and (`tasks`.`due_by` > '2025-08-30' or `tasks`.`due_by` is null) and `tasks`.`deleted_at` is null group by `tasks`.`task_id` order by `task_assigned`.`user_id` desc, `task_id` desc limit 1 [2025-08-30 03:46:31] local.DEBUG: Values for Sql:Array ( [0] => 312 [1] => 220 [2] => ZIPCODE_PARENT_AND_CHILD [3] => ZIPCODE [4] => GLOBAL [5] => GLOBAL_FOR_PARENT_AND_CHILD ) [2025-08-30 03:46:31] local.INFO: V2ChildController::getFilteredRewards() [2025-08-30 03:46:31] local.INFO: child if condition before CHILD [2025-08-30 03:46:31] local.INFO: child if condition after [2025-08-30 03:46:31] local.DEBUG: SQL to get Rewards: select `products`.* from `products` left join `store_product` on `store_product`.`product_id` = `products`.`product_id` and `store_product`.`deleted_at` IS NULL left join `reward_settings` on `reward_settings`.`reward_id` = `products`.`product_id` left join `reward_visibility` on `reward_visibility`.`reward_settings_id` = `reward_settings`.`reward_settings_id` where ((`reward_settings`.`visible_to` in (?) and `reward_settings`.`visible_in_family_store` = ? and `store_product`.`store_id` = ? and `store_product`.`is_published` = ?) or (`reward_settings`.`visible_to` in (?) and `products`.`group_id` = ?) or (`store_product`.`store_id` = ? and `store_product`.`is_published` <=> ?)) and `products`.`deleted_at` is null group by `products`.`product_id` order by `products`.`created_at` desc limit 1 [2025-08-30 03:46:31] local.DEBUG: Values for Sql:Array ( [0] => GLOBAL_FOR_PARENT [1] => 1 [2] => 218 [3] => 1 [4] => SINGLE_GROUP [5] => 220 [6] => 218 [7] => 0 ) [2025-08-30 03:46:31] local.DEBUG: Task Sql:select `tasks`.* from `tasks` left join `task_settings` on `tasks`.`task_id` = `task_settings`.`task_id` where `tasks`.`product_id` in (?) and `tasks`.`deleted_at` is null group by `tasks`.`task_id` order by `created_at` desc [2025-08-30 03:46:31] local.DEBUG: Values for Sql:Array ( [0] => 358 ) [2025-08-30 03:46:41] local.INFO: V2ChildController::getHasNewActivity() [2025-08-30 03:46:45] local.INFO: V2ChildController::get_app_home_tasks() [2025-08-30 03:46:45] local.DEBUG: Task Sql:select `tasks`.* from `tasks` left join `task_settings` on `tasks`.`task_id` = `task_settings`.`task_id` left join `task_visibility` on `task_visibility`.`task_settings_id` = `task_settings`.`task_settings_id` left join `task_visibility` as `visibility_country_single` on `visibility_country_single`.`task_settings_id` = `visibility_country_single`.`task_settings_id` and `visibility_country_single`.`entity_type` = 'COUNTRY_SINGLE' left join `task_assigned` on `tasks`.`task_id` = `task_assigned`.`task_id` and `task_assigned`.`user_id` = ? and `task_assigned`.`group_id` = ? where (`task_assigned`.`user_id` is not null or (`task_settings`.`visible_to` in (?) and `task_visibility`.`entity_type` = ? and `task_visibility`.`entity_value` is null and `visibility_country_single`.`entity_value` is null) or (`task_settings`.`visible_to` in (?, ?))) and `tasks`.`due_by` <= '2025-09-02' and `tasks`.`due_by` > '2025-08-30' and `tasks`.`deleted_at` is null group by `tasks`.`task_id` order by `task_assigned`.`user_id` desc, `due_by` asc limit 12 [2025-08-30 03:46:45] local.DEBUG: Values for Sql:Array ( [0] => 312 [1] => 220 [2] => ZIPCODE_PARENT_AND_CHILD [3] => ZIPCODE [4] => GLOBAL [5] => GLOBAL_FOR_PARENT_AND_CHILD ) [2025-08-30 03:46:45] local.DEBUG: Task Sql:select `tasks`.* from `tasks` left join `task_settings` on `tasks`.`task_id` = `task_settings`.`task_id` left join `task_visibility` on `task_visibility`.`task_settings_id` = `task_settings`.`task_settings_id` left join `task_visibility` as `visibility_country_single` on `visibility_country_single`.`task_settings_id` = `visibility_country_single`.`task_settings_id` and `visibility_country_single`.`entity_type` = 'COUNTRY_SINGLE' left join `task_assigned` on `tasks`.`task_id` = `task_assigned`.`task_id` and `task_assigned`.`user_id` = ? and `task_assigned`.`group_id` = ? where (`task_assigned`.`user_id` is not null or (`task_settings`.`visible_to` in (?) and `task_visibility`.`entity_type` = ? and `task_visibility`.`entity_value` is null and `visibility_country_single`.`entity_value` is null) or (`task_settings`.`visible_to` in (?, ?))) and (`tasks`.`due_by` > '2025-08-30' or `tasks`.`due_by` is null) and `tasks`.`deleted_at` is null group by `tasks`.`task_id` order by `task_assigned`.`user_id` desc, `due_by` asc limit 10 [2025-08-30 03:46:45] local.DEBUG: Values for Sql:Array ( [0] => 312 [1] => 220 [2] => ZIPCODE_PARENT_AND_CHILD [3] => ZIPCODE [4] => GLOBAL [5] => GLOBAL_FOR_PARENT_AND_CHILD ) [2025-08-30 03:46:47] local.INFO: V2ChildController::get_app_home_tasks() [2025-08-30 03:46:47] local.DEBUG: Task Sql:select `tasks`.* from `tasks` left join `task_settings` on `tasks`.`task_id` = `task_settings`.`task_id` left join `task_visibility` on `task_visibility`.`task_settings_id` = `task_settings`.`task_settings_id` left join `task_visibility` as `visibility_country_single` on `visibility_country_single`.`task_settings_id` = `visibility_country_single`.`task_settings_id` and `visibility_country_single`.`entity_type` = 'COUNTRY_SINGLE' left join `task_assigned` on `tasks`.`task_id` = `task_assigned`.`task_id` and `task_assigned`.`user_id` = ? and `task_assigned`.`group_id` = ? where (`task_assigned`.`user_id` is not null or (`task_settings`.`visible_to` in (?) and `task_visibility`.`entity_type` = ? and `task_visibility`.`entity_value` is null and `visibility_country_single`.`entity_value` is null) or (`task_settings`.`visible_to` in (?, ?))) and `tasks`.`due_by` <= '2025-09-02' and `tasks`.`due_by` > '2025-08-30' and `tasks`.`deleted_at` is null group by `tasks`.`task_id` order by `task_assigned`.`user_id` desc, `due_by` asc limit 12 [2025-08-30 03:46:47] local.DEBUG: Values for Sql:Array ( [0] => 312 [1] => 220 [2] => ZIPCODE_PARENT_AND_CHILD [3] => ZIPCODE [4] => GLOBAL [5] => GLOBAL_FOR_PARENT_AND_CHILD ) [2025-08-30 03:46:47] local.DEBUG: Task Sql:select `tasks`.* from `tasks` left join `task_settings` on `tasks`.`task_id` = `task_settings`.`task_id` left join `task_visibility` on `task_visibility`.`task_settings_id` = `task_settings`.`task_settings_id` left join `task_visibility` as `visibility_country_single` on `visibility_country_single`.`task_settings_id` = `visibility_country_single`.`task_settings_id` and `visibility_country_single`.`entity_type` = 'COUNTRY_SINGLE' left join `task_assigned` on `tasks`.`task_id` = `task_assigned`.`task_id` and `task_assigned`.`user_id` = ? and `task_assigned`.`group_id` = ? where (`task_assigned`.`user_id` is not null or (`task_settings`.`visible_to` in (?) and `task_visibility`.`entity_type` = ? and `task_visibility`.`entity_value` is null and `visibility_country_single`.`entity_value` is null) or (`task_settings`.`visible_to` in (?, ?))) and (`tasks`.`due_by` > '2025-08-30' or `tasks`.`due_by` is null) and `tasks`.`deleted_at` is null group by `tasks`.`task_id` order by `task_assigned`.`user_id` desc, `due_by` asc limit 20 [2025-08-30 03:46:47] local.DEBUG: Values for Sql:Array ( [0] => 312 [1] => 220 [2] => ZIPCODE_PARENT_AND_CHILD [3] => ZIPCODE [4] => GLOBAL [5] => GLOBAL_FOR_PARENT_AND_CHILD ) [2025-08-30 03:46:51] local.INFO: V2ChildController::get_task_by_id() [2025-08-30 03:46:51] local.DEBUG: Task Sql:select `tasks`.* from `tasks` left join `task_settings` on `tasks`.`task_id` = `task_settings`.`task_id` left join `task_visibility` on `task_visibility`.`task_settings_id` = `task_settings`.`task_settings_id` left join `task_visibility` as `visibility_country_single` on `visibility_country_single`.`task_settings_id` = `visibility_country_single`.`task_settings_id` and `visibility_country_single`.`entity_type` = 'COUNTRY_SINGLE' where `tasks`.`task_id` in (?) and `tasks`.`deleted_at` is null group by `tasks`.`task_id` order by `task_id` desc limit 10 [2025-08-30 03:46:51] local.DEBUG: Values for Sql:Array ( [0] => 298 ) [2025-08-30 03:46:51] local.DEBUG: task visible_to: [2025-08-30 03:46:54] local.INFO: V2ChildController::create_new_claim_for_task() [2025-08-30 03:46:54] local.DEBUG: Task Sql:select `tasks`.* from `tasks` left join `task_settings` on `tasks`.`task_id` = `task_settings`.`task_id` left join `task_visibility` on `task_visibility`.`task_settings_id` = `task_settings`.`task_settings_id` left join `task_visibility` as `visibility_country_single` on `visibility_country_single`.`task_settings_id` = `visibility_country_single`.`task_settings_id` and `visibility_country_single`.`entity_type` = 'COUNTRY_SINGLE' where `tasks`.`task_id` in (?) and `tasks`.`deleted_at` is null group by `tasks`.`task_id` order by `task_id` desc limit 10 [2025-08-30 03:46:54] local.DEBUG: Values for Sql:Array ( [0] => 298 ) [2025-08-30 03:46:54] local.DEBUG: task visible_to: [2025-08-30 03:46:54] local.DEBUG: task is not assigned to user, and it is not visible as well [2025-08-30 03:46:54] local.INFO: 0.10000000 points allocated for COMPLETION_OF_TASKS_BY_CHILDREN_IN_GROUP to 275 [2025-08-30 03:46:54] local.DEBUG: Token:array ( 10002 => 'https://api.zeptomail.com/v1.1/email', 19913 => true, 10102 => '', 68 => 10, 13 => 30, 32 => 6, 84 => 2, 10036 => 'POST', 10015 => '{"from":{"address":"info@coinsforcollege.org"},"to":[{"email_address":{"address":"fmfegurgur@gmail.com","name":"FM FM"}}],"cc":[],"bcc":[],"subject":"Task Claimed","htmlbody":"<!DOCTYPE html>\\n<html lang=\\"en\\">\\n<head>\\n <meta charset=\\"UTF-8\\">\\n <meta name=\\"viewport\\" content=\\"width=device-width, initial-scale=1.0\\">\\n <title>Task Pending Approval<\\/title>\\n <link href=\'https:\\/\\/fonts.googleapis.com\\/css?family=Poppins\' rel=\'stylesheet\'>\\n<\\/head>\\n<body style=\\"font-family: Poppins; background-color: #f4f4f4; padding: 20px;\\">\\n\\n <div style=\\"max-width: 600px; margin: 0 auto; background-color: #fff; border-radius: 10px; overflow: hidden;\\">\\n\\n <!-- Header -->\\n <div style=\\"background-color: #3498db; color: #fff; text-align: center; padding: 20px;\\">\\n <h2>Task Pending Approval<\\/h2>\\n <\\/div>\\n\\n <!-- Content -->\\n <div style=\\"padding: 20px;\\">\\n <p>Hello FM FM,<\\/p>\\n <p>Your child has completed a task and it is now pending your approval:<\\/p>\\n <ul>\\n <li><strong>Task Name:<\\/strong> Yardwork<\\/li>\\n <li><strong>Assigned To:<\\/strong> Emelia fegurgur<\\/li>\\n <\\/ul>\\n <p>If you have any questions or concerns, please contact us.<\\/p>\\n <p>Thank you for using our task management system.<\\/p>\\n <\\/div>\\n\\n <!-- Footer -->\\n <div style=\\"background-color: #3498db; color: #fff; text-align: center; padding: 10px;\\">\\n <p>© 2025 Coins for College. All rights reserved.<\\/p>\\n <\\/div>\\n\\n <\\/div>\\n\\n<\\/body>\\n<\\/html>\\n"}', 10023 => array ( 0 => 'accept: application/json', 1 => 'authorization:Zoho-enczapikey wSsVR6118hCkX6YpyDKrL+gxzFxRAlLwQEQs0FWo43L+GfrL9Mc6wkybVlLxFPJJFGRhF2cUobIoyR8D2mZf3d0sy1EDXCiF9mqRe1U4J3x17qnvhDzNXmxZlBKMKYIBxQ9snGFnFMAg+g==', 2 => 'cache-control: no-cache', 3 => 'content-type: application/json', ), ) [2025-08-30 03:46:54] local.ERROR: failure in sending email: array ( 'code' => 'TM_4001', 'details' => array ( 0 => array ( 'code' => 'SERR_157', 'message' => 'Invalid API Token found', ), ), 'message' => 'Access Denied', ) [2025-08-30 03:46:54] local.INFO: V2ChildController::get_task_by_id() [2025-08-30 03:46:54] local.DEBUG: Task Sql:select `tasks`.* from `tasks` left join `task_settings` on `tasks`.`task_id` = `task_settings`.`task_id` left join `task_visibility` on `task_visibility`.`task_settings_id` = `task_settings`.`task_settings_id` left join `task_visibility` as `visibility_country_single` on `visibility_country_single`.`task_settings_id` = `visibility_country_single`.`task_settings_id` and `visibility_country_single`.`entity_type` = 'COUNTRY_SINGLE' where `tasks`.`task_id` in (?) and `tasks`.`deleted_at` is null group by `tasks`.`task_id` order by `task_id` desc limit 10 [2025-08-30 03:46:54] local.DEBUG: Values for Sql:Array ( [0] => 298 ) [2025-08-30 03:46:54] local.DEBUG: task visible_to: [2025-08-30 03:47:05] local.INFO: V2ChildController::get_task_by_id() [2025-08-30 03:47:05] local.DEBUG: Task Sql:select `tasks`.* from `tasks` left join `task_settings` on `tasks`.`task_id` = `task_settings`.`task_id` left join `task_visibility` on `task_visibility`.`task_settings_id` = `task_settings`.`task_settings_id` left join `task_visibility` as `visibility_country_single` on `visibility_country_single`.`task_settings_id` = `visibility_country_single`.`task_settings_id` and `visibility_country_single`.`entity_type` = 'COUNTRY_SINGLE' where `tasks`.`task_id` in (?) and `tasks`.`deleted_at` is null group by `tasks`.`task_id` order by `task_id` desc limit 10 [2025-08-30 03:47:05] local.DEBUG: Values for Sql:Array ( [0] => 337 ) [2025-08-30 03:47:05] local.DEBUG: task visible_to: GLOBAL_FOR_PARENT_AND_CHILD [2025-08-30 03:47:12] local.INFO: V2ChildController::create_new_claim_for_task() [2025-08-30 03:47:12] local.DEBUG: Task Sql:select `tasks`.* from `tasks` left join `task_settings` on `tasks`.`task_id` = `task_settings`.`task_id` left join `task_visibility` on `task_visibility`.`task_settings_id` = `task_settings`.`task_settings_id` left join `task_visibility` as `visibility_country_single` on `visibility_country_single`.`task_settings_id` = `visibility_country_single`.`task_settings_id` and `visibility_country_single`.`entity_type` = 'COUNTRY_SINGLE' where `tasks`.`task_id` in (?) and `tasks`.`deleted_at` is null group by `tasks`.`task_id` order by `task_id` desc limit 10 [2025-08-30 03:47:12] local.DEBUG: Values for Sql:Array ( [0] => 337 ) [2025-08-30 03:47:12] local.DEBUG: task visible_to: GLOBAL_FOR_PARENT_AND_CHILD [2025-08-30 03:47:12] local.DEBUG: task is not assigned to user, and it is not visible as well [2025-08-30 03:47:12] local.INFO: 0.10000000 points allocated for COMPLETION_OF_TASKS_BY_CHILDREN_IN_GROUP to 275 [2025-08-30 03:47:12] local.DEBUG: Token:array ( 10002 => 'https://api.zeptomail.com/v1.1/email', 19913 => true, 10102 => '', 68 => 10, 13 => 30, 32 => 6, 84 => 2, 10036 => 'POST', 10015 => '{"from":{"address":"info@coinsforcollege.org"},"to":[{"email_address":{"address":"fmfegurgur@gmail.com","name":"FM FM"}}],"cc":[],"bcc":[],"subject":"Task Claimed","htmlbody":"<!DOCTYPE html>\\n<html lang=\\"en\\">\\n<head>\\n <meta charset=\\"UTF-8\\">\\n <meta name=\\"viewport\\" content=\\"width=device-width, initial-scale=1.0\\">\\n <title>Task Pending Approval<\\/title>\\n <link href=\'https:\\/\\/fonts.googleapis.com\\/css?family=Poppins\' rel=\'stylesheet\'>\\n<\\/head>\\n<body style=\\"font-family: Poppins; background-color: #f4f4f4; padding: 20px;\\">\\n\\n <div style=\\"max-width: 600px; margin: 0 auto; background-color: #fff; border-radius: 10px; overflow: hidden;\\">\\n\\n <!-- Header -->\\n <div style=\\"background-color: #3498db; color: #fff; text-align: center; padding: 20px;\\">\\n <h2>Task Pending Approval<\\/h2>\\n <\\/div>\\n\\n <!-- Content -->\\n <div style=\\"padding: 20px;\\">\\n <p>Hello FM FM,<\\/p>\\n <p>Your child has completed a task and it is now pending your approval:<\\/p>\\n <ul>\\n <li><strong>Task Name:<\\/strong> Daily Attendance - 1 Week<\\/li>\\n <li><strong>Assigned To:<\\/strong> Emelia fegurgur<\\/li>\\n <\\/ul>\\n <p>If you have any questions or concerns, please contact us.<\\/p>\\n <p>Thank you for using our task management system.<\\/p>\\n <\\/div>\\n\\n <!-- Footer -->\\n <div style=\\"background-color: #3498db; color: #fff; text-align: center; padding: 10px;\\">\\n <p>© 2025 Coins for College. All rights reserved.<\\/p>\\n <\\/div>\\n\\n <\\/div>\\n\\n<\\/body>\\n<\\/html>\\n"}', 10023 => array ( 0 => 'accept: application/json', 1 => 'authorization:Zoho-enczapikey wSsVR6118hCkX6YpyDKrL+gxzFxRAlLwQEQs0FWo43L+GfrL9Mc6wkybVlLxFPJJFGRhF2cUobIoyR8D2mZf3d0sy1EDXCiF9mqRe1U4J3x17qnvhDzNXmxZlBKMKYIBxQ9snGFnFMAg+g==', 2 => 'cache-control: no-cache', 3 => 'content-type: application/json', ), ) [2025-08-30 03:47:12] local.ERROR: failure in sending email: array ( 'code' => 'TM_4001', 'details' => array ( 0 => array ( 'code' => 'SERR_157', 'message' => 'Invalid API Token found', ), ), 'message' => 'Access Denied', ) [2025-08-30 03:47:13] local.INFO: V2ChildController::get_task_by_id() [2025-08-30 03:47:13] local.DEBUG: Task Sql:select `tasks`.* from `tasks` left join `task_settings` on `tasks`.`task_id` = `task_settings`.`task_id` left join `task_visibility` on `task_visibility`.`task_settings_id` = `task_settings`.`task_settings_id` left join `task_visibility` as `visibility_country_single` on `visibility_country_single`.`task_settings_id` = `visibility_country_single`.`task_settings_id` and `visibility_country_single`.`entity_type` = 'COUNTRY_SINGLE' where `tasks`.`task_id` in (?) and `tasks`.`deleted_at` is null group by `tasks`.`task_id` order by `task_id` desc limit 10 [2025-08-30 03:47:13] local.DEBUG: Values for Sql:Array ( [0] => 337 ) [2025-08-30 03:47:13] local.DEBUG: task visible_to: GLOBAL_FOR_PARENT_AND_CHILD [2025-08-30 03:47:19] local.INFO: V2ChildController::get_task_by_id() [2025-08-30 03:47:19] local.DEBUG: Task Sql:select `tasks`.* from `tasks` left join `task_settings` on `tasks`.`task_id` = `task_settings`.`task_id` left join `task_visibility` on `task_visibility`.`task_settings_id` = `task_settings`.`task_settings_id` left join `task_visibility` as `visibility_country_single` on `visibility_country_single`.`task_settings_id` = `visibility_country_single`.`task_settings_id` and `visibility_country_single`.`entity_type` = 'COUNTRY_SINGLE' where `tasks`.`task_id` in (?) and `tasks`.`deleted_at` is null group by `tasks`.`task_id` order by `task_id` desc limit 10 [2025-08-30 03:47:19] local.DEBUG: Values for Sql:Array ( [0] => 342 ) [2025-08-30 03:47:19] local.DEBUG: task visible_to: GLOBAL_FOR_PARENT_AND_CHILD [2025-08-30 03:47:21] local.INFO: V2ChildController::create_new_claim_for_task() [2025-08-30 03:47:21] local.DEBUG: Task Sql:select `tasks`.* from `tasks` left join `task_settings` on `tasks`.`task_id` = `task_settings`.`task_id` left join `task_visibility` on `task_visibility`.`task_settings_id` = `task_settings`.`task_settings_id` left join `task_visibility` as `visibility_country_single` on `visibility_country_single`.`task_settings_id` = `visibility_country_single`.`task_settings_id` and `visibility_country_single`.`entity_type` = 'COUNTRY_SINGLE' where `tasks`.`task_id` in (?) and `tasks`.`deleted_at` is null group by `tasks`.`task_id` order by `task_id` desc limit 10 [2025-08-30 03:47:21] local.DEBUG: Values for Sql:Array ( [0] => 342 ) [2025-08-30 03:47:21] local.DEBUG: task visible_to: GLOBAL_FOR_PARENT_AND_CHILD [2025-08-30 03:47:21] local.DEBUG: task is not assigned to user, and it is not visible as well [2025-08-30 03:47:21] local.INFO: 0.10000000 points allocated for COMPLETION_OF_TASKS_BY_CHILDREN_IN_GROUP to 275 [2025-08-30 03:47:21] local.DEBUG: Token:array ( 10002 => 'https://api.zeptomail.com/v1.1/email', 19913 => true, 10102 => '', 68 => 10, 13 => 30, 32 => 6, 84 => 2, 10036 => 'POST', 10015 => '{"from":{"address":"info@coinsforcollege.org"},"to":[{"email_address":{"address":"fmfegurgur@gmail.com","name":"FM FM"}}],"cc":[],"bcc":[],"subject":"Task Claimed","htmlbody":"<!DOCTYPE html>\\n<html lang=\\"en\\">\\n<head>\\n <meta charset=\\"UTF-8\\">\\n <meta name=\\"viewport\\" content=\\"width=device-width, initial-scale=1.0\\">\\n <title>Task Pending Approval<\\/title>\\n <link href=\'https:\\/\\/fonts.googleapis.com\\/css?family=Poppins\' rel=\'stylesheet\'>\\n<\\/head>\\n<body style=\\"font-family: Poppins; background-color: #f4f4f4; padding: 20px;\\">\\n\\n <div style=\\"max-width: 600px; margin: 0 auto; background-color: #fff; border-radius: 10px; overflow: hidden;\\">\\n\\n <!-- Header -->\\n <div style=\\"background-color: #3498db; color: #fff; text-align: center; padding: 20px;\\">\\n <h2>Task Pending Approval<\\/h2>\\n <\\/div>\\n\\n <!-- Content -->\\n <div style=\\"padding: 20px;\\">\\n <p>Hello FM FM,<\\/p>\\n <p>Your child has completed a task and it is now pending your approval:<\\/p>\\n <ul>\\n <li><strong>Task Name:<\\/strong> Practice Music<\\/li>\\n <li><strong>Assigned To:<\\/strong> Emelia fegurgur<\\/li>\\n <\\/ul>\\n <p>If you have any questions or concerns, please contact us.<\\/p>\\n <p>Thank you for using our task management system.<\\/p>\\n <\\/div>\\n\\n <!-- Footer -->\\n <div style=\\"background-color: #3498db; color: #fff; text-align: center; padding: 10px;\\">\\n <p>© 2025 Coins for College. All rights reserved.<\\/p>\\n <\\/div>\\n\\n <\\/div>\\n\\n<\\/body>\\n<\\/html>\\n"}', 10023 => array ( 0 => 'accept: application/json', 1 => 'authorization:Zoho-enczapikey wSsVR6118hCkX6YpyDKrL+gxzFxRAlLwQEQs0FWo43L+GfrL9Mc6wkybVlLxFPJJFGRhF2cUobIoyR8D2mZf3d0sy1EDXCiF9mqRe1U4J3x17qnvhDzNXmxZlBKMKYIBxQ9snGFnFMAg+g==', 2 => 'cache-control: no-cache', 3 => 'content-type: application/json', ), ) [2025-08-30 03:47:22] local.ERROR: failure in sending email: array ( 'code' => 'TM_4001', 'details' => array ( 0 => array ( 'code' => 'SERR_157', 'message' => 'Invalid API Token found', ), ), 'message' => 'Access Denied', ) [2025-08-30 03:47:22] local.INFO: V2ChildController::get_task_by_id() [2025-08-30 03:47:22] local.DEBUG: Task Sql:select `tasks`.* from `tasks` left join `task_settings` on `tasks`.`task_id` = `task_settings`.`task_id` left join `task_visibility` on `task_visibility`.`task_settings_id` = `task_settings`.`task_settings_id` left join `task_visibility` as `visibility_country_single` on `visibility_country_single`.`task_settings_id` = `visibility_country_single`.`task_settings_id` and `visibility_country_single`.`entity_type` = 'COUNTRY_SINGLE' where `tasks`.`task_id` in (?) and `tasks`.`deleted_at` is null group by `tasks`.`task_id` order by `task_id` desc limit 10 [2025-08-30 03:47:22] local.DEBUG: Values for Sql:Array ( [0] => 342 ) [2025-08-30 03:47:22] local.DEBUG: task visible_to: GLOBAL_FOR_PARENT_AND_CHILD [2025-08-30 03:47:25] local.INFO: V2ChildController::get_task_by_id() [2025-08-30 03:47:25] local.DEBUG: Task Sql:select `tasks`.* from `tasks` left join `task_settings` on `tasks`.`task_id` = `task_settings`.`task_id` left join `task_visibility` on `task_visibility`.`task_settings_id` = `task_settings`.`task_settings_id` left join `task_visibility` as `visibility_country_single` on `visibility_country_single`.`task_settings_id` = `visibility_country_single`.`task_settings_id` and `visibility_country_single`.`entity_type` = 'COUNTRY_SINGLE' where `tasks`.`task_id` in (?) and `tasks`.`deleted_at` is null group by `tasks`.`task_id` order by `task_id` desc limit 10 [2025-08-30 03:47:25] local.DEBUG: Values for Sql:Array ( [0] => 343 ) [2025-08-30 03:47:25] local.DEBUG: task visible_to: GLOBAL_FOR_PARENT_AND_CHILD [2025-08-30 03:47:29] local.INFO: V2ChildController::create_new_claim_for_task() [2025-08-30 03:47:29] local.DEBUG: Task Sql:select `tasks`.* from `tasks` left join `task_settings` on `tasks`.`task_id` = `task_settings`.`task_id` left join `task_visibility` on `task_visibility`.`task_settings_id` = `task_settings`.`task_settings_id` left join `task_visibility` as `visibility_country_single` on `visibility_country_single`.`task_settings_id` = `visibility_country_single`.`task_settings_id` and `visibility_country_single`.`entity_type` = 'COUNTRY_SINGLE' where `tasks`.`task_id` in (?) and `tasks`.`deleted_at` is null group by `tasks`.`task_id` order by `task_id` desc limit 10 [2025-08-30 03:47:29] local.DEBUG: Values for Sql:Array ( [0] => 343 ) [2025-08-30 03:47:29] local.DEBUG: task visible_to: GLOBAL_FOR_PARENT_AND_CHILD [2025-08-30 03:47:29] local.DEBUG: task is not assigned to user, and it is not visible as well [2025-08-30 03:47:29] local.INFO: 0.10000000 points allocated for COMPLETION_OF_TASKS_BY_CHILDREN_IN_GROUP to 275 [2025-08-30 03:47:29] local.DEBUG: Token:array ( 10002 => 'https://api.zeptomail.com/v1.1/email', 19913 => true, 10102 => '', 68 => 10, 13 => 30, 32 => 6, 84 => 2, 10036 => 'POST', 10015 => '{"from":{"address":"info@coinsforcollege.org"},"to":[{"email_address":{"address":"fmfegurgur@gmail.com","name":"FM FM"}}],"cc":[],"bcc":[],"subject":"Task Claimed","htmlbody":"<!DOCTYPE html>\\n<html lang=\\"en\\">\\n<head>\\n <meta charset=\\"UTF-8\\">\\n <meta name=\\"viewport\\" content=\\"width=device-width, initial-scale=1.0\\">\\n <title>Task Pending Approval<\\/title>\\n <link href=\'https:\\/\\/fonts.googleapis.com\\/css?family=Poppins\' rel=\'stylesheet\'>\\n<\\/head>\\n<body style=\\"font-family: Poppins; background-color: #f4f4f4; padding: 20px;\\">\\n\\n <div style=\\"max-width: 600px; margin: 0 auto; background-color: #fff; border-radius: 10px; overflow: hidden;\\">\\n\\n <!-- Header -->\\n <div style=\\"background-color: #3498db; color: #fff; text-align: center; padding: 20px;\\">\\n <h2>Task Pending Approval<\\/h2>\\n <\\/div>\\n\\n <!-- Content -->\\n <div style=\\"padding: 20px;\\">\\n <p>Hello FM FM,<\\/p>\\n <p>Your child has completed a task and it is now pending your approval:<\\/p>\\n <ul>\\n <li><strong>Task Name:<\\/strong> Sports Drills<\\/li>\\n <li><strong>Assigned To:<\\/strong> Emelia fegurgur<\\/li>\\n <\\/ul>\\n <p>If you have any questions or concerns, please contact us.<\\/p>\\n <p>Thank you for using our task management system.<\\/p>\\n <\\/div>\\n\\n <!-- Footer -->\\n <div style=\\"background-color: #3498db; color: #fff; text-align: center; padding: 10px;\\">\\n <p>© 2025 Coins for College. All rights reserved.<\\/p>\\n <\\/div>\\n\\n <\\/div>\\n\\n<\\/body>\\n<\\/html>\\n"}', 10023 => array ( 0 => 'accept: application/json', 1 => 'authorization:Zoho-enczapikey wSsVR6118hCkX6YpyDKrL+gxzFxRAlLwQEQs0FWo43L+GfrL9Mc6wkybVlLxFPJJFGRhF2cUobIoyR8D2mZf3d0sy1EDXCiF9mqRe1U4J3x17qnvhDzNXmxZlBKMKYIBxQ9snGFnFMAg+g==', 2 => 'cache-control: no-cache', 3 => 'content-type: application/json', ), ) [2025-08-30 03:47:29] local.ERROR: failure in sending email: array ( 'code' => 'TM_4001', 'details' => array ( 0 => array ( 'code' => 'SERR_157', 'message' => 'Invalid API Token found', ), ), 'message' => 'Access Denied', ) [2025-08-30 03:47:29] local.INFO: V2ChildController::get_task_by_id() [2025-08-30 03:47:29] local.DEBUG: Task Sql:select `tasks`.* from `tasks` left join `task_settings` on `tasks`.`task_id` = `task_settings`.`task_id` left join `task_visibility` on `task_visibility`.`task_settings_id` = `task_settings`.`task_settings_id` left join `task_visibility` as `visibility_country_single` on `visibility_country_single`.`task_settings_id` = `visibility_country_single`.`task_settings_id` and `visibility_country_single`.`entity_type` = 'COUNTRY_SINGLE' where `tasks`.`task_id` in (?) and `tasks`.`deleted_at` is null group by `tasks`.`task_id` order by `task_id` desc limit 10 [2025-08-30 03:47:29] local.DEBUG: Values for Sql:Array ( [0] => 343 ) [2025-08-30 03:47:29] local.DEBUG: task visible_to: GLOBAL_FOR_PARENT_AND_CHILD [2025-08-30 03:47:36] local.INFO: V2ChildController::get_task_by_id() [2025-08-30 03:47:36] local.DEBUG: Task Sql:select `tasks`.* from `tasks` left join `task_settings` on `tasks`.`task_id` = `task_settings`.`task_id` left join `task_visibility` on `task_visibility`.`task_settings_id` = `task_settings`.`task_settings_id` left join `task_visibility` as `visibility_country_single` on `visibility_country_single`.`task_settings_id` = `visibility_country_single`.`task_settings_id` and `visibility_country_single`.`entity_type` = 'COUNTRY_SINGLE' where `tasks`.`task_id` in (?) and `tasks`.`deleted_at` is null group by `tasks`.`task_id` order by `task_id` desc limit 10 [2025-08-30 03:47:36] local.DEBUG: Values for Sql:Array ( [0] => 346 ) [2025-08-30 03:47:36] local.DEBUG: task visible_to: GLOBAL_FOR_PARENT [2025-08-30 03:47:43] local.INFO: V2ChildController::create_new_claim_for_task() [2025-08-30 03:47:43] local.DEBUG: Task Sql:select `tasks`.* from `tasks` left join `task_settings` on `tasks`.`task_id` = `task_settings`.`task_id` left join `task_visibility` on `task_visibility`.`task_settings_id` = `task_settings`.`task_settings_id` left join `task_visibility` as `visibility_country_single` on `visibility_country_single`.`task_settings_id` = `visibility_country_single`.`task_settings_id` and `visibility_country_single`.`entity_type` = 'COUNTRY_SINGLE' where `tasks`.`task_id` in (?) and `tasks`.`deleted_at` is null group by `tasks`.`task_id` order by `task_id` desc limit 10 [2025-08-30 03:47:43] local.DEBUG: Values for Sql:Array ( [0] => 346 ) [2025-08-30 03:47:43] local.DEBUG: task visible_to: GLOBAL_FOR_PARENT [2025-08-30 03:47:43] local.DEBUG: task is not assigned to user, and it is not visible as well [2025-08-30 03:47:44] local.INFO: 0.10000000 points allocated for COMPLETION_OF_TASKS_BY_CHILDREN_IN_GROUP to 275 [2025-08-30 03:47:44] local.DEBUG: Token:array ( 10002 => 'https://api.zeptomail.com/v1.1/email', 19913 => true, 10102 => '', 68 => 10, 13 => 30, 32 => 6, 84 => 2, 10036 => 'POST', 10015 => '{"from":{"address":"info@coinsforcollege.org"},"to":[{"email_address":{"address":"fmfegurgur@gmail.com","name":"FM FM"}}],"cc":[],"bcc":[],"subject":"Task Claimed","htmlbody":"<!DOCTYPE html>\\n<html lang=\\"en\\">\\n<head>\\n <meta charset=\\"UTF-8\\">\\n <meta name=\\"viewport\\" content=\\"width=device-width, initial-scale=1.0\\">\\n <title>Task Pending Approval<\\/title>\\n <link href=\'https:\\/\\/fonts.googleapis.com\\/css?family=Poppins\' rel=\'stylesheet\'>\\n<\\/head>\\n<body style=\\"font-family: Poppins; background-color: #f4f4f4; padding: 20px;\\">\\n\\n <div style=\\"max-width: 600px; margin: 0 auto; background-color: #fff; border-radius: 10px; overflow: hidden;\\">\\n\\n <!-- Header -->\\n <div style=\\"background-color: #3498db; color: #fff; text-align: center; padding: 20px;\\">\\n <h2>Task Pending Approval<\\/h2>\\n <\\/div>\\n\\n <!-- Content -->\\n <div style=\\"padding: 20px;\\">\\n <p>Hello FM FM,<\\/p>\\n <p>Your child has completed a task and it is now pending your approval:<\\/p>\\n <ul>\\n <li><strong>Task Name:<\\/strong> Clean Up Toys Everyday for 1 Week<\\/li>\\n <li><strong>Assigned To:<\\/strong> Emelia fegurgur<\\/li>\\n <\\/ul>\\n <p>If you have any questions or concerns, please contact us.<\\/p>\\n <p>Thank you for using our task management system.<\\/p>\\n <\\/div>\\n\\n <!-- Footer -->\\n <div style=\\"background-color: #3498db; color: #fff; text-align: center; padding: 10px;\\">\\n <p>© 2025 Coins for College. All rights reserved.<\\/p>\\n <\\/div>\\n\\n <\\/div>\\n\\n<\\/body>\\n<\\/html>\\n"}', 10023 => array ( 0 => 'accept: application/json', 1 => 'authorization:Zoho-enczapikey wSsVR6118hCkX6YpyDKrL+gxzFxRAlLwQEQs0FWo43L+GfrL9Mc6wkybVlLxFPJJFGRhF2cUobIoyR8D2mZf3d0sy1EDXCiF9mqRe1U4J3x17qnvhDzNXmxZlBKMKYIBxQ9snGFnFMAg+g==', 2 => 'cache-control: no-cache', 3 => 'content-type: application/json', ), ) [2025-08-30 03:47:44] local.ERROR: failure in sending email: array ( 'code' => 'TM_4001', 'details' => array ( 0 => array ( 'code' => 'SERR_157', 'message' => 'Invalid API Token found', ), ), 'message' => 'Access Denied', ) [2025-08-30 03:47:44] local.INFO: V2ChildController::get_task_by_id() [2025-08-30 03:47:44] local.DEBUG: Task Sql:select `tasks`.* from `tasks` left join `task_settings` on `tasks`.`task_id` = `task_settings`.`task_id` left join `task_visibility` on `task_visibility`.`task_settings_id` = `task_settings`.`task_settings_id` left join `task_visibility` as `visibility_country_single` on `visibility_country_single`.`task_settings_id` = `visibility_country_single`.`task_settings_id` and `visibility_country_single`.`entity_type` = 'COUNTRY_SINGLE' where `tasks`.`task_id` in (?) and `tasks`.`deleted_at` is null group by `tasks`.`task_id` order by `task_id` desc limit 10 [2025-08-30 03:47:44] local.DEBUG: Values for Sql:Array ( [0] => 346 ) [2025-08-30 03:47:44] local.DEBUG: task visible_to: GLOBAL_FOR_PARENT [2025-08-30 03:47:51] local.INFO: V2ChildController::get_task_by_id() [2025-08-30 03:47:51] local.DEBUG: Task Sql:select `tasks`.* from `tasks` left join `task_settings` on `tasks`.`task_id` = `task_settings`.`task_id` left join `task_visibility` on `task_visibility`.`task_settings_id` = `task_settings`.`task_settings_id` left join `task_visibility` as `visibility_country_single` on `visibility_country_single`.`task_settings_id` = `visibility_country_single`.`task_settings_id` and `visibility_country_single`.`entity_type` = 'COUNTRY_SINGLE' where `tasks`.`task_id` in (?) and `tasks`.`deleted_at` is null group by `tasks`.`task_id` order by `task_id` desc limit 10 [2025-08-30 03:47:51] local.DEBUG: Values for Sql:Array ( [0] => 348 ) [2025-08-30 03:47:51] local.DEBUG: task visible_to: GLOBAL_FOR_PARENT_AND_CHILD [2025-08-30 03:47:58] local.INFO: V2ChildController::get_task_by_id() [2025-08-30 03:47:58] local.DEBUG: Task Sql:select `tasks`.* from `tasks` left join `task_settings` on `tasks`.`task_id` = `task_settings`.`task_id` left join `task_visibility` on `task_visibility`.`task_settings_id` = `task_settings`.`task_settings_id` left join `task_visibility` as `visibility_country_single` on `visibility_country_single`.`task_settings_id` = `visibility_country_single`.`task_settings_id` and `visibility_country_single`.`entity_type` = 'COUNTRY_SINGLE' where `tasks`.`task_id` in (?) and `tasks`.`deleted_at` is null group by `tasks`.`task_id` order by `task_id` desc limit 10 [2025-08-30 03:47:58] local.DEBUG: Values for Sql:Array ( [0] => 350 ) [2025-08-30 03:47:58] local.DEBUG: task visible_to: GLOBAL_FOR_PARENT_AND_CHILD [2025-08-30 03:48:00] local.INFO: V2ChildController::create_new_claim_for_task() [2025-08-30 03:48:00] local.DEBUG: Task Sql:select `tasks`.* from `tasks` left join `task_settings` on `tasks`.`task_id` = `task_settings`.`task_id` left join `task_visibility` on `task_visibility`.`task_settings_id` = `task_settings`.`task_settings_id` left join `task_visibility` as `visibility_country_single` on `visibility_country_single`.`task_settings_id` = `visibility_country_single`.`task_settings_id` and `visibility_country_single`.`entity_type` = 'COUNTRY_SINGLE' where `tasks`.`task_id` in (?) and `tasks`.`deleted_at` is null group by `tasks`.`task_id` order by `task_id` desc limit 10 [2025-08-30 03:48:00] local.DEBUG: Values for Sql:Array ( [0] => 350 ) [2025-08-30 03:48:00] local.DEBUG: task visible_to: GLOBAL_FOR_PARENT_AND_CHILD [2025-08-30 03:48:00] local.DEBUG: task is not assigned to user, and it is not visible as well [2025-08-30 03:48:00] local.INFO: 0.10000000 points allocated for COMPLETION_OF_TASKS_BY_CHILDREN_IN_GROUP to 275 [2025-08-30 03:48:00] local.DEBUG: Token:array ( 10002 => 'https://api.zeptomail.com/v1.1/email', 19913 => true, 10102 => '', 68 => 10, 13 => 30, 32 => 6, 84 => 2, 10036 => 'POST', 10015 => '{"from":{"address":"info@coinsforcollege.org"},"to":[{"email_address":{"address":"fmfegurgur@gmail.com","name":"FM FM"}}],"cc":[],"bcc":[],"subject":"Task Claimed","htmlbody":"<!DOCTYPE html>\\n<html lang=\\"en\\">\\n<head>\\n <meta charset=\\"UTF-8\\">\\n <meta name=\\"viewport\\" content=\\"width=device-width, initial-scale=1.0\\">\\n <title>Task Pending Approval<\\/title>\\n <link href=\'https:\\/\\/fonts.googleapis.com\\/css?family=Poppins\' rel=\'stylesheet\'>\\n<\\/head>\\n<body style=\\"font-family: Poppins; background-color: #f4f4f4; padding: 20px;\\">\\n\\n <div style=\\"max-width: 600px; margin: 0 auto; background-color: #fff; border-radius: 10px; overflow: hidden;\\">\\n\\n <!-- Header -->\\n <div style=\\"background-color: #3498db; color: #fff; text-align: center; padding: 20px;\\">\\n <h2>Task Pending Approval<\\/h2>\\n <\\/div>\\n\\n <!-- Content -->\\n <div style=\\"padding: 20px;\\">\\n <p>Hello FM FM,<\\/p>\\n <p>Your child has completed a task and it is now pending your approval:<\\/p>\\n <ul>\\n <li><strong>Task Name:<\\/strong> Read for 30 Minutes<\\/li>\\n <li><strong>Assigned To:<\\/strong> Emelia fegurgur<\\/li>\\n <\\/ul>\\n <p>If you have any questions or concerns, please contact us.<\\/p>\\n <p>Thank you for using our task management system.<\\/p>\\n <\\/div>\\n\\n <!-- Footer -->\\n <div style=\\"background-color: #3498db; color: #fff; text-align: center; padding: 10px;\\">\\n <p>© 2025 Coins for College. All rights reserved.<\\/p>\\n <\\/div>\\n\\n <\\/div>\\n\\n<\\/body>\\n<\\/html>\\n"}', 10023 => array ( 0 => 'accept: application/json', 1 => 'authorization:Zoho-enczapikey wSsVR6118hCkX6YpyDKrL+gxzFxRAlLwQEQs0FWo43L+GfrL9Mc6wkybVlLxFPJJFGRhF2cUobIoyR8D2mZf3d0sy1EDXCiF9mqRe1U4J3x17qnvhDzNXmxZlBKMKYIBxQ9snGFnFMAg+g==', 2 => 'cache-control: no-cache', 3 => 'content-type: application/json', ), ) [2025-08-30 03:48:01] local.ERROR: failure in sending email: array ( 'code' => 'TM_4001', 'details' => array ( 0 => array ( 'code' => 'SERR_157', 'message' => 'Invalid API Token found', ), ), 'message' => 'Access Denied', ) [2025-08-30 03:48:01] local.INFO: V2ChildController::get_task_by_id() [2025-08-30 03:48:01] local.DEBUG: Task Sql:select `tasks`.* from `tasks` left join `task_settings` on `tasks`.`task_id` = `task_settings`.`task_id` left join `task_visibility` on `task_visibility`.`task_settings_id` = `task_settings`.`task_settings_id` left join `task_visibility` as `visibility_country_single` on `visibility_country_single`.`task_settings_id` = `visibility_country_single`.`task_settings_id` and `visibility_country_single`.`entity_type` = 'COUNTRY_SINGLE' where `tasks`.`task_id` in (?) and `tasks`.`deleted_at` is null group by `tasks`.`task_id` order by `task_id` desc limit 10 [2025-08-30 03:48:01] local.DEBUG: Values for Sql:Array ( [0] => 350 ) [2025-08-30 03:48:01] local.DEBUG: task visible_to: GLOBAL_FOR_PARENT_AND_CHILD [2025-08-30 03:48:06] local.INFO: V2ChildController::get_task_by_id() [2025-08-30 03:48:06] local.DEBUG: Task Sql:select `tasks`.* from `tasks` left join `task_settings` on `tasks`.`task_id` = `task_settings`.`task_id` left join `task_visibility` on `task_visibility`.`task_settings_id` = `task_settings`.`task_settings_id` left join `task_visibility` as `visibility_country_single` on `visibility_country_single`.`task_settings_id` = `visibility_country_single`.`task_settings_id` and `visibility_country_single`.`entity_type` = 'COUNTRY_SINGLE' where `tasks`.`task_id` in (?) and `tasks`.`deleted_at` is null group by `tasks`.`task_id` order by `task_id` desc limit 10 [2025-08-30 03:48:06] local.DEBUG: Values for Sql:Array ( [0] => 351 ) [2025-08-30 03:48:06] local.DEBUG: task visible_to: GLOBAL_FOR_PARENT_AND_CHILD [2025-08-30 03:48:08] local.INFO: V2ChildController::create_new_claim_for_task() [2025-08-30 03:48:08] local.DEBUG: Task Sql:select `tasks`.* from `tasks` left join `task_settings` on `tasks`.`task_id` = `task_settings`.`task_id` left join `task_visibility` on `task_visibility`.`task_settings_id` = `task_settings`.`task_settings_id` left join `task_visibility` as `visibility_country_single` on `visibility_country_single`.`task_settings_id` = `visibility_country_single`.`task_settings_id` and `visibility_country_single`.`entity_type` = 'COUNTRY_SINGLE' where `tasks`.`task_id` in (?) and `tasks`.`deleted_at` is null group by `tasks`.`task_id` order by `task_id` desc limit 10 [2025-08-30 03:48:08] local.DEBUG: Values for Sql:Array ( [0] => 351 ) [2025-08-30 03:48:08] local.DEBUG: task visible_to: GLOBAL_FOR_PARENT_AND_CHILD [2025-08-30 03:48:08] local.DEBUG: task is not assigned to user, and it is not visible as well [2025-08-30 03:48:08] local.INFO: 0.10000000 points allocated for COMPLETION_OF_TASKS_BY_CHILDREN_IN_GROUP to 275 [2025-08-30 03:48:08] local.DEBUG: Token:array ( 10002 => 'https://api.zeptomail.com/v1.1/email', 19913 => true, 10102 => '', 68 => 10, 13 => 30, 32 => 6, 84 => 2, 10036 => 'POST', 10015 => '{"from":{"address":"info@coinsforcollege.org"},"to":[{"email_address":{"address":"fmfegurgur@gmail.com","name":"FM FM"}}],"cc":[],"bcc":[],"subject":"Task Claimed","htmlbody":"<!DOCTYPE html>\\n<html lang=\\"en\\">\\n<head>\\n <meta charset=\\"UTF-8\\">\\n <meta name=\\"viewport\\" content=\\"width=device-width, initial-scale=1.0\\">\\n <title>Task Pending Approval<\\/title>\\n <link href=\'https:\\/\\/fonts.googleapis.com\\/css?family=Poppins\' rel=\'stylesheet\'>\\n<\\/head>\\n<body style=\\"font-family: Poppins; background-color: #f4f4f4; padding: 20px;\\">\\n\\n <div style=\\"max-width: 600px; margin: 0 auto; background-color: #fff; border-radius: 10px; overflow: hidden;\\">\\n\\n <!-- Header -->\\n <div style=\\"background-color: #3498db; color: #fff; text-align: center; padding: 20px;\\">\\n <h2>Task Pending Approval<\\/h2>\\n <\\/div>\\n\\n <!-- Content -->\\n <div style=\\"padding: 20px;\\">\\n <p>Hello FM FM,<\\/p>\\n <p>Your child has completed a task and it is now pending your approval:<\\/p>\\n <ul>\\n <li><strong>Task Name:<\\/strong> Practice Your Extracurricular for 30 Minutes<\\/li>\\n <li><strong>Assigned To:<\\/strong> Emelia fegurgur<\\/li>\\n <\\/ul>\\n <p>If you have any questions or concerns, please contact us.<\\/p>\\n <p>Thank you for using our task management system.<\\/p>\\n <\\/div>\\n\\n <!-- Footer -->\\n <div style=\\"background-color: #3498db; color: #fff; text-align: center; padding: 10px;\\">\\n <p>© 2025 Coins for College. All rights reserved.<\\/p>\\n <\\/div>\\n\\n <\\/div>\\n\\n<\\/body>\\n<\\/html>\\n"}', 10023 => array ( 0 => 'accept: application/json', 1 => 'authorization:Zoho-enczapikey wSsVR6118hCkX6YpyDKrL+gxzFxRAlLwQEQs0FWo43L+GfrL9Mc6wkybVlLxFPJJFGRhF2cUobIoyR8D2mZf3d0sy1EDXCiF9mqRe1U4J3x17qnvhDzNXmxZlBKMKYIBxQ9snGFnFMAg+g==', 2 => 'cache-control: no-cache', 3 => 'content-type: application/json', ), ) [2025-08-30 03:48:08] local.ERROR: failure in sending email: array ( 'code' => 'TM_4001', 'details' => array ( 0 => array ( 'code' => 'SERR_157', 'message' => 'Invalid API Token found', ), ), 'message' => 'Access Denied', ) [2025-08-30 03:48:09] local.INFO: V2ChildController::get_task_by_id() [2025-08-30 03:48:09] local.DEBUG: Task Sql:select `tasks`.* from `tasks` left join `task_settings` on `tasks`.`task_id` = `task_settings`.`task_id` left join `task_visibility` on `task_visibility`.`task_settings_id` = `task_settings`.`task_settings_id` left join `task_visibility` as `visibility_country_single` on `visibility_country_single`.`task_settings_id` = `visibility_country_single`.`task_settings_id` and `visibility_country_single`.`entity_type` = 'COUNTRY_SINGLE' where `tasks`.`task_id` in (?) and `tasks`.`deleted_at` is null group by `tasks`.`task_id` order by `task_id` desc limit 10 [2025-08-30 03:48:09] local.DEBUG: Values for Sql:Array ( [0] => 351 ) [2025-08-30 03:48:09] local.DEBUG: task visible_to: GLOBAL_FOR_PARENT_AND_CHILD [2025-08-30 03:48:15] local.INFO: V2ChildController::get_app_home_tasks() [2025-08-30 03:48:15] local.DEBUG: Task Sql:select `tasks`.* from `tasks` left join `task_settings` on `tasks`.`task_id` = `task_settings`.`task_id` left join `task_visibility` on `task_visibility`.`task_settings_id` = `task_settings`.`task_settings_id` left join `task_visibility` as `visibility_country_single` on `visibility_country_single`.`task_settings_id` = `visibility_country_single`.`task_settings_id` and `visibility_country_single`.`entity_type` = 'COUNTRY_SINGLE' left join `task_assigned` on `tasks`.`task_id` = `task_assigned`.`task_id` and `task_assigned`.`user_id` = ? and `task_assigned`.`group_id` = ? where (`task_assigned`.`user_id` is not null or (`task_settings`.`visible_to` in (?) and `task_visibility`.`entity_type` = ? and `task_visibility`.`entity_value` is null and `visibility_country_single`.`entity_value` is null) or (`task_settings`.`visible_to` in (?, ?))) and `tasks`.`due_by` <= '2025-09-02' and `tasks`.`due_by` > '2025-08-30' and `tasks`.`deleted_at` is null group by `tasks`.`task_id` order by `task_assigned`.`user_id` desc, `due_by` asc limit 12 [2025-08-30 03:48:15] local.DEBUG: Values for Sql:Array ( [0] => 312 [1] => 220 [2] => ZIPCODE_PARENT_AND_CHILD [3] => ZIPCODE [4] => GLOBAL [5] => GLOBAL_FOR_PARENT_AND_CHILD ) [2025-08-30 03:48:15] local.DEBUG: Task Sql:select `tasks`.* from `tasks` left join `task_settings` on `tasks`.`task_id` = `task_settings`.`task_id` left join `task_visibility` on `task_visibility`.`task_settings_id` = `task_settings`.`task_settings_id` left join `task_visibility` as `visibility_country_single` on `visibility_country_single`.`task_settings_id` = `visibility_country_single`.`task_settings_id` and `visibility_country_single`.`entity_type` = 'COUNTRY_SINGLE' left join `task_assigned` on `tasks`.`task_id` = `task_assigned`.`task_id` and `task_assigned`.`user_id` = ? and `task_assigned`.`group_id` = ? where (`task_assigned`.`user_id` is not null or (`task_settings`.`visible_to` in (?) and `task_visibility`.`entity_type` = ? and `task_visibility`.`entity_value` is null and `visibility_country_single`.`entity_value` is null) or (`task_settings`.`visible_to` in (?, ?))) and (`tasks`.`due_by` > '2025-08-30' or `tasks`.`due_by` is null) and `tasks`.`deleted_at` is null group by `tasks`.`task_id` order by `task_assigned`.`user_id` desc, `due_by` asc limit 20 [2025-08-30 03:48:15] local.DEBUG: Values for Sql:Array ( [0] => 312 [1] => 220 [2] => ZIPCODE_PARENT_AND_CHILD [3] => ZIPCODE [4] => GLOBAL [5] => GLOBAL_FOR_PARENT_AND_CHILD ) [2025-08-30 07:05:02] local.DEBUG: Tasks to be repeated SQL: select `tasks`.`task_id`, `tasks`.* from `tasks` left join `task_settings` on `tasks`.`task_id` = `task_settings`.`task_id` where MOD(DATEDIFF(CURRENT_DATE, tasks.created_at), task_settings.repeate_after_days) = 0 and `tasks`.`is_repeated` = ? and `tasks`.`due_by` >= CURRENT_DATE and `tasks`.`deleted_at` is null [2025-08-30 07:05:02] local.DEBUG: Response: Array ( [Code] => 200 [Message] => No tasks to be repeated today )